package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mmd.base.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_enter_problem")
@ApiModel(value="EnterProblem对象", description="机构入驻常见问题")
public class EnterProblem extends BaseEntity<EnterProblem> {

    @ApiModelProperty(value = "图标")
    private String iconUrl;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("子集")
    @TableField(exist = false)
    private List<EnterProblem> list;
}
